package com.hl.card.common.persistence.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.hl.card.common.persistence.model.CollectAddress;

import java.util.List;


/**
 * <p>
  * 收货地址表 Mapper 接口
 * </p>
 *
 * @author hl
 * @since 2017-07-11
 */
public interface CollectAddressMapper extends BaseMapper<CollectAddress> {

	int insertCollectAddress(CollectAddress id);

	int updateCollectAddress(CollectAddress collectAddress);
	
	int deleteCollectAddress(CollectAddress userId);

	List<CollectAddress> selectCollectAddress(String userId);

	int updateCollectAddressWhetherAddress(CollectAddress collectAddress);

	int updateCollectAddressWhetherAddressAll(CollectAddress collectAddress);

}
